package o;

import android.content.Context;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import java.util.List;

public class bwm extends cia {
    public /* synthetic */ chz ॱ(long j) {
        return ˋ(j);
    }

    public bwm(Context context) {
        super(context);
    }

    public bvu ˋ(long j) {
        chz ॱ = super.ॱ(j);
        if (ॱ instanceof bvu) {
            return (bvu) ॱ;
        }
        return null;
    }

    public chz ˋ(long j, int i, int i2, List<CardBean> list) {
        bqx.ˏ("MessageDetailDataProvider", "addCardChunk, id:" + j + ", cardType:" + i);
        chz ˋ = ˋ(j);
        if (ˋ != null) {
            return ˋ;
        }
        cie ˋ2 = cib.ˋ(this.ʼ, i);
        if (ˋ2 == null) {
            return null;
        }
        ˋ = new bvu(j, ˋ2, i2, list);
        int i3 = this.ͺ;
        this.ͺ = i3 + 1;
        ˋ.ˊ(i3);
        this.ॱॱ.add(ˋ);
        return ˋ;
    }
}
